import Vue from 'vue'
import App from './App.vue'
import '@/assets/iconfont/iconfont.css'
import '@/assets/iconfont/tubiao.css'

Vue.config.productionTip = false
//引入Element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
//引入路由vue-router
import VueRouter from "vue-router";
Vue.use(VueRouter);
//引入路由配置
import router from "@/router";

//引入axios
import axios from "axios";

// axios.defaults.baseURL = 'http://localhost:8081';
// axios.defaults.baseURL = 'http://chengx.icu:8088/spring';
axios.defaults.baseURL = 'http://chengx.icu:8090/spring';
// axios.defaults.validateStatus = val => val >= 200 && val <=500;
Vue.prototype.$axios = axios;


new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
